package com.longcai.mapper.nearby;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.longcai.entity.nearby.ClyjNearbyGoodsType;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;


/**
 * <p>
 * 附近商品类型 Mapper 接口
 * </p>
 *
 * @author M
 * @since 2019-03-26
 */
@Mapper
@Repository
public interface ClyjNearbyGoodsTypeMapper extends BaseMapper<ClyjNearbyGoodsType> {


    /**
     * 获取店铺类型对应商品
     *
     * @param shopsid
     * @return
     */
    List<ClyjNearbyGoodsType> getShopsGood(@Param("shopsid") String shopsid, @Param("type") String type);

}
